//package com.demo.sso.common.config;
//
//import com.demo.sso.interceptor.LoginInterceptor;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//
///**
// * 请添加模块注释
// *
// * @author fengjy
// * @date 2018-10-29 19:50
// */
//
//@Configuration
//public class WebMvcConfig extends WebMvcConfigurerAdapter {
//
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new LoginInterceptor()).addPathPatterns("classpath:/resources/");
//        registry.addInterceptor(new LoginInterceptor());
//    }
//
//
//}
